package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author by zhy
 * @date 2021-07-07 14:19
 * @Version 1.0
 */
@Data
public class DrugDetailsReq implements Serializable{
    private static final long serialVersionUID = 8744843176027591205L;

    @ApiModelProperty(value = "药品id")
    @Size(min =0,max=16,message = "药品id长度必须在0-16！")
    @NotBlank(message = "药品id不能为空！")
    private String drugId;

    @ApiModelProperty(value = "门店id")
    private String storeId;
}
